package com.zis.gather;

import org.springframework.web.bind.annotation.*;

/**
 * Create by wangshen 2018/1/16
 */
@RestController
@RequestMapping("/api/gather")
public class DataGatherRestful {


    @RequestMapping(value = "/data", method = RequestMethod.POST)
    @ResponseBody
    public void gather(@RequestParam String data) {
        System.out.println("采集到的信息："+data);
    }
}
